Conversation
Replaces reportiumPipeline.buildCode() with a new local buildCode() function in Jenkinsfile. The new function handles Maven build, versioning, conditional deployment to Nexus based on branch, tagging, and pushing tags, with error handling and Slack notifications.
The 'Test' and 'WHITESOURCE SCAN' stages in Jenkinsfile have been commented out, disabling their execution. Additionally, a new 'Jenkinsfile copy' has been added, which includes enhanced build, test, and Whitesource scan logic, parameter handling, and error notifications.
Uncommented and activated the 'Test' stage to trigger the 'reportium-sdk-java-test/master' job with the appropriate parameters. Also removed a redundant echo statement from the build stage.
Introduces the SDK_RELEASE_TAG parameter to control version deployment to Nexus. Refines deployment logic to distinguish between PR, master, and test-pr builds, ensuring only master releases with a supplied tag are deployed and tagged, while other builds deploy snapshots or skip deployment as appropriate.
The 'when' condition for the Test stage has been removed, allowing the stage to always execute regardless of branch or parameters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.